package xyz.xiaoshengfu.xrpc.config;

import java.io.Serializable;

/**
 * <p>Title: ReferenceBean</p>
 * <p>Description: xRPC服务引用配置信息</p>
 * @author xiaoshengfu(2439323118@qq.com)
 * @date 2020年3月24日
 */
public class ReferenceBean implements Serializable {

	private static final long serialVersionUID = 1L;

	private String referenceInterface;
	private String id;
	private Integer timeout;

	public ReferenceBean() {
		super();
	}

	public ReferenceBean(String referenceInterface, String id, Integer timeout) {
		super();
		this.referenceInterface = referenceInterface;
		this.id = id;
		this.timeout = timeout;
	}

	public String getReferenceInterface() {
		return referenceInterface;
	}

	public void setReferenceInterface(String referenceInterface) {
		this.referenceInterface = referenceInterface;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getTimeout() {
		return timeout;
	}

	public void setTimeout(Integer timeout) {
		this.timeout = timeout;
	}

	@Override
	public String toString() {
		return "ReferenceBean [referenceInterface=" + referenceInterface + ", id=" + id + ", timeout=" + timeout + "]";
	}

}
